package com.koo.modules.sys.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 审核信息
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-07-29 15:40:32
 */
@Data
@ApiModel("审核信息")
@TableName("sys_audit")
public class SysAuditEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId
    private Long auditId;

    @ExcelIgnore
    @ApiModelProperty(value = "审核用户Id")
    private Long userId;

    @ColumnWidth(11)
    @ExcelProperty("审核用户名称")
    @ApiModelProperty(value = "审核用户名称")
    private String userName;

    @ExcelIgnore
    @ApiModelProperty(value = "需要审核订单的Id")
    private Long orderId;

    @ColumnWidth(15)
    @ExcelProperty("需要审核订单的编号")
    @ApiModelProperty(value = "需要审核订单的编号")
    private String orderNo;

    @ExcelIgnore
    @ApiModelProperty(value = "订单对应的表格名称")
    private String tableName;

    @ColumnWidth(11)
    @ExcelProperty("审核状态（-1不通过，0未审核，1已审核）")
    @ApiModelProperty(value = "审核状态（-1不通过，0未审核，1已审核）")
    private Integer auditStatus;

    @ColumnWidth(31)
    @ExcelProperty("标题")
    @ApiModelProperty(value = "标题")
    private String title;


}
